let str = ["Hello", "98052", "101"]
// Validators to use
let vlt: { [s: string]: Validation.StringValidator } = {}
vlt["ZIP code"] = new Validation.ZipCodeOnlyValidator()
vlt["Letter only"] = new Validation.LetterOnlyValidator()
// Show whether each string passed each validator
for (let s of str) {
  for (let name in vlt) {
    console.log(`"${s}"-${vlt[name].isAcceptable(s) ? "matches" : "does not match"} ${name}`)
    /*
    "Hello"-does not match ZIP code
    25-多文件命名空间.js:11 "Hello"-matches Letter only
    25-多文件命名空间.js:11 "98052"-matches ZIP code
    25-多文件命名空间.js:11 "98052"-does not match Letter only
    25-多文件命名空间.js:11 "101"-does not match ZIP code
    25-多文件命名空间.js:11 "101"-does not match Letter only
    */
  }
}